function sync(fromId, toId){
	var to = document.getElementById(toId);
	var from = document.getElementById(fromId);
	alert(from.value);
	to.value = from.value;
}